package car;

/**
 * @author oldliu
 * @since 1.0
 */
public class Car extends Vechile {
    @Override
    public float calcMoney(int days) {
        float f= super.calcMoney(days);
        if(days>=10){
            f*=0.7;
        }else if(days>=3){
            f*=0.9;
        }
        return f;
    }
}
